GtkDialog: fix up handling of style properties
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Apr 2014 20:49:07 +0000 (13:49 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Apr 2014 20:54:37 +0000 (13:54 -0700)
commit28327ee9aac888071e01decfea21d36184796281
treed8309657d97ad5ac507636dd5d902c58367da0b1
parentb1012256f238f2958ce3cf0fec56dc2692b4ce56
GtkDialog: fix up handling of style properties

The use of border-width-set here was an attempt to differentiate
between explicitly set (from code / ui files) border width from
theme changes. But when we are calling gtk_window_set_border_width
to apply the theme value, the -set property gets set, and all
further theme changes are ignored. This has the effect of only
letting the default value of these properties get applied.

Fix this by unsetting border-width-set after applying theme values.
gtk/gtkdialog.c